package com.hejia.bulbul.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.hejia.bulbul.config.AppConfig;

/**
 * 应用配置控制器
 * @author hyr
 *
 */
@Controller
@RequestMapping("appconfig")
public class AppConfigController {
	
	@RequestMapping("version")
	@ResponseBody
	public String version(){
		return AppConfig.VERSION;
	}
}
